package cn.com.dcsgo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 规格表
 */
@TableName(value = "prod_prop")
@Data
public class ProdProp {
    /**
     * 规格ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "规格ID")
    private Long propId;

    /**
     * 规格名称
     */
    @Schema(description = "规格名称")
    private String propName;

    /**
     * 1:销售属性(规格); 2:参数属性;
     */
    @Schema(description = "1:销售属性(规格); 2:参数属性")
    private Integer rule;

    /**
     * 店铺ID
     */
    @Schema(description = "店铺ID")
    private Long shopId;
}